package com.example.demo.domain.tos;

import com.example.demo.domain.service.Service;

import java.util.ArrayList;
import java.util.List;

public class Tos {
    private Integer tosId;

    private String tosName;

    private List<Service> children = new ArrayList<>();

    public List<Service> getChildren() {
        return children;
    }

    public void setChildren(List<Service> childeren) {
        this.children = childeren;
    }


    public Integer getTosId() {
        return tosId;
    }

    public void setTosId(Integer tosId) {
        this.tosId = tosId;
    }

    public String getTosName() {
        return tosName;
    }

    public void setTosName(String tosName) {
        this.tosName = tosName == null ? null : tosName.trim();
    }


}